project(detectSGX)
cmake_minimum_required(VERSION 3.9.3)
add_definitions(-std=c++14)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin/)

#add_executable(csgx test-sgx.c)
#install(TARGETS csgx DESTINATION bin)
add_executable(csgx EXCLUDE_FROM_ALL test-sgx.c)
install(TARGETS csgx DESTINATION bin COMPONENT sgx OPTIONAL)
